package cn.itrip.auth.service;

import cn.itrip.pojo.ItripUser;

/**
 * Created by LENOVO on 2018/8/17.
 */
public interface RegisterService {

    public void registerUserByPhone(ItripUser itripUser);

    public boolean validateSms(String phone,String code);

    public boolean findUserByUserCode(String userCode);

    public void registerUserByMail(ItripUser itripUser) throws Exception;

    public boolean activateMail(String mail,String code);
}
